/* eslint-disable */
// 兼容 IE
// https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill
import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import store from './store'

// 全局引入按需引入UI库 vant
import '@/plugins/vant'

// 引入全局样式
import '@/assets/css/index.scss'

// 引入统计工具
import '@/utils/beidou'
import '@/utils/wmda'

// 移动端适配
import 'lib-flexible/flexible.js'

// Vue.prototype.$currentIndex = 0
// 开发环境引入vconsole
import VConsole from 'vconsole'

if (process.env.NODE_ENV === 'development' || !/58corp/.test(location.host)) {
  new VConsole()
}

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  // store,
  render: (h: any) => h(App)
})
